package com.dupengcheng.subject.domain.convert;

import com.dupengcheng.subject.domain.entity.SubjectLabelBO;
import com.dupengcheng.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectLabelConvert {
    
    SubjectLabelConvert INSTANCE= Mappers.getMapper(SubjectLabelConvert.class);


    SubjectLabel convertBoToLabel(SubjectLabelBO subjectLabelBO);

    List<SubjectLabelBO> convertLabelToBOList(List<SubjectLabel> subjectLabelList);
}
